package solution.peibo;

/**
 * @author 刘牌
 * @Title:
 * @date 2022/3/218:05
 */
public class Peibo {
    public static void main(String[] args) {
        System.out.println(p(3));
    }

    public static int p(int n){
        if (n < 2) return n;
        return p(n - 1) + p(n -2);
    }
}
